package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DriverWithdrawState {
    init(0, "初始化"),
    operated(1, "处理中"),
    done(2, "已完成"),
    cancelled(3, "已取消"),
    failed(4, "失败"),
    rejected(5, "已拒绝"),
    front_end_done(6, "前端结束");

    @EnumValue
    private final int code;
    private final String desc;

    DriverWithdrawState(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
